﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Net;

using EnvironmentalMonitor.Support.Resource;

namespace EnvironmentalMonitor.Support.Device.Handler
{
    /// <summary>
    /// 日志处理
    /// </summary>
    public class LogHandler : EnvironmentalMonitor.Support.Device.Handler.InstructionHandler
    {
        public void Process(EndPoint remoteEP, byte[] values)
        {
            IPEndPoint ip = remoteEP as IPEndPoint;
            Variable.Logger.Log(ip, values);
        }
    }
}
